package io.renren.service;

import com.baomidou.mybatisplus.extension.service.IService;

import io.renren.entity.CourseteacherEntity;
import org.apache.ibatis.annotations.Param;

import java.util.*;


/**
 * 
 *
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2019-10-29 14:02:48
 */
public interface CourseteacherService extends IService<CourseteacherEntity> {
    void addTeacherAnswer(Integer courseid, Integer userid, String answer);

    List<CourseteacherEntity> getCourseTeacher(Integer userid);

    CourseteacherEntity getCourseTeacherByUserIdAndCourseid(Integer courseid, Integer userid);
}

